﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LongSCADA_WPF.Models
{
	[SugarTable("menu")]
	public class Menu: EntityBase
	{
		private string _menuName;
		public string MenuName
		{
			get => _menuName;
			set => SetProperty(ref _menuName, value);
		}

		private string _icon;
		public string Icon
		{
			get => _icon;
			set => SetProperty(ref _icon, value);
		}

		private string _view;

		public string View
		{
			get => _view;
			set => SetProperty(ref _view, value);
		}

		private int _role;
		public int Role
		{
			get => _role;
			set => SetProperty(ref _role, value);
		}

		private int _sort;

		public int Sort
		{
			get => _sort;
			set => SetProperty(ref _sort, value);

		}
	}
}
